package com.oneonefive.educationsystem.mapper;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.oneonefive.educationsystem.domain.Arrange;
import com.oneonefive.educationsystem.domain.Semester;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.LinkedList;
import java.util.List;

@Mapper
public interface ArrangeMapper extends BaseMapper<Arrange> {


    LinkedList<Arrange> arrangeList(@Param("semester") Semester semester );

    List<Arrange> stuArrangeList(@Param("semester") Semester semester, @Param("labId") String labId,@Param(("week")) Integer week,@Param("section") Integer section);

    List<Arrange> teaArrangeList(@Param("semester") Semester semester, @Param("section") Integer section);

    List<Arrange> clazzArrangeList(@Param("semester")Semester semester,@Param("clazz") String clazz);
}




